
package com.sun.alen.service;

import com.sun.alen.entity.PageBean;
import com.sun.alen.entity.Profession;

import java.util.List;

public interface ProfessionService {
    PageBean list(Integer currentPage, Integer pageSize);

    boolean add(Profession profession);

    boolean update(Profession profession);

    boolean delete(String id);

    PageBean search(String input, String select, Integer currentPage, Integer pageSize);

    List<Profession> all();
}
